import api from '@/utils/request'

export const getSysConfig = (configName: any) => {
    return api.get('/Admin/sysConfig/getSysConfig?configName=' + configName)
}

export const saveOrUpdateSysConfig = (configName: any, configValue: any) => {
    return api.post('/Admin/sysConfig/saveOrUpdateSysConfig', {configName: configName, configValue: configValue})
}


export const deleteSysConfig = (configName: any) => {
    return api.post('/Admin/sysConfig/deleteSysConfig?configName=' + configName)
}